package com.kingyun.gpsinspection.purificationservice.services.jsm.outerservice.impl;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.DeviceVo;
import com.kingyun.gpsinspection.purificationservice.facade.service.jsm.OutDeviceService;
import com.kingyun.gpsinspection.purificationservice.facade.service.jsm.device.JsmDeviceService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by YuPeng on 2016/12/15.
 */

public class OutDeviceServiceImpl implements OutDeviceService {
    /**
     * 获取设备列表分页信息
     *
     * @param device
     * @return
     */
    @Autowired
    private JsmDeviceService deviceService;

    /**
     * 获取设备分页列表
     *
     * @param deviceVo
     * @return
     * @throws Exception
     */
    @Override
    public Map<String, Object> searchDevices(DeviceVo deviceVo) throws Exception {
        return deviceService.searchDevices(deviceVo);
    }
}
